ProjectName.modules.Preference = {
    init: function() {
        this.deleteCompanyLogo();
        this.initLightBox();
    },
            
    initLightBox : function (){
    	$('.lightbox').lightBox();
    },
            
    deleteCompanyLogo: function() {
        $('.image-delete').click(function() {
            var bool = confirm("Are you sure you want to delete this image?");
            if (bool) {
                var postdata = {};
                jQuery.post(BASE_PATH + '/preference/deletecompanylogo', postdata, function(result) {
                    window.location.href = window.location.href;
                });
            }
            return false;
        });
    }
};
